//
//  U9stockManager.h
//  U9WatchGame
//
//  Created by uuu9 on 2018/9/21.
//  Copyright © 2018年 UUU9. All rights reserved.
//

#import "BaseNetManager.h"

@class U9StockListModel,U9InvestMinModel,U9InvestStockModel,U9BonusModel;

@interface U9stockManager : BaseNetManager

//获取股票市场列表
+ (void)getStockListWithUserid:(NSString *)uid andSessionid:(NSString *)sessionid andChannelID:(NSString *)cid andPageNum:(NSString *)pageNum andCompletionHandle:(void (^)(U9StockListModel *, NSError *))complete;

//获取最小投资额
+ (void)getInvestMinWithClubID:(NSString *)cid andCompletionHandle:(void (^)(U9InvestMinModel *, NSError *))complete;

//投资股票
+ (void)investStockWithUserid:(NSString *)uid andSessionid:(NSString *)sessionid andClubid:(NSString *)clubid andScore:(NSString *)score andCompletionHandle:(void (^)(U9InvestStockModel *, NSError *))complete;


+ (void)getUserBonusWithUserid:(NSString *)uid andSessionid:(NSString *)sessionid andCompletionHandle:(void (^)(U9BonusModel *model, NSError *error))complete;

//收益明细
+ (void)getExchangeRecordWithCompletionHandle:(void (^)(U9InvestMinModel *, NSError *))complete;


+ (void)cancelInvestWithClubID:(NSString *)cid andUserid:(NSString *)uid andSessionid:(NSString *)sessionid andCompletionHandle:(void (^)(U9InvestStockModel *model, NSError *error))complete;


+(void)getClubIncomeWithClubID:(NSString *)cid andUserid:(NSString *)uid andSessionid:(NSString *)sessionid andCompletionHandle:(void (^)(U9InvestStockModel *, NSError *))complete;

@end


